<template>
  <div id="alert" class="alert alert-danger" v-if="error.has">
    <span>{{error.message}}</span>
  </div>
</template>

<script>
export default {
  name: 'alert',
  props: ['error'],
  data() {
    return {}
  }
}
</script>

